<?php
// Module Definition
$module['name'] = 'POP3';
$module['description'] = 'Maintain user mailboxes';
// Note perhaps this module should be called Mail or something to encompass IMAP
//   control as well..
// Support for POP3 server control is not being added straight away for simplicity and to
//  check whether it affects other parts of webcp.

switch($action) {
	case 'register':
		break;
	case 'unregister':
		break;
	case 'hook':
		// Server hooks
		register_hook('server:cfg', 'pop3_add_cfg');
		register_hook('server:user:update', 'pop3_user_update', 1);
		register_hook('server:user:remove', 'pop3_user_remove', 1);
		//register_hook('server:service:monitor', 'pop3_monitor');
		//register_hook('server:service:start:pop3', 'pop3_start');
		//register_hook('server:service:stop:pop3', 'pop3_stop');
		//register_hook('server:service:restart:pop3', 'pop3_restart');
		break;
}
?>